<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">
    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="info.code" placeholder="订单编号"> 
        </div>
         <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="info.mobile" placeholder="电话"> 
        </div>
        <div class="col-sm-2 col-sm-offset-6">
            <button class="btn btn-block btn-info" ng-click="getlist()">搜索</button> 
        </div>
        
    </div>

</div>
</div>
</div>
<!-- searchArea -->
<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-3 text-center">订单编号</th>
                    <th class="col-md-2 text-center">电话</th>
                    <th class="col-md-3 text-center">下单时间</th>
                    <th class="col-md-2 text-center">优惠券状态</th>
                    <th class="col-md-2 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.code}}</td>
                    <td class="text-center">{{obj.mobile}}</td>
                    <td class="text-center">{{obj.otime}}</td>
                    <td class="text-center">
                        <p class="" ng-show="obj.coupon_state == '0'">未出</p>
                        <p class="" ng-show="obj.coupon_state == '1'">等待出</p>
                        <p class="" ng-show="obj.coupon_state == '2'">全部出完</p>
                        <p class="" ng-show="obj.coupon_state == '9'">出失败</p>
                    </td>
                    <td class="text-center">
                        <a ng-click="couponinfo(obj)" class="btn btn-primary btn-xs">券信息</a> 
                        <a ng-click="seeinfo(obj)" class="btn btn-success btn-xs">查看详情</a> 
                    </td>
                    

                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>
        

